package midalgorithms.math;

public class _06Divide {
    public static int divide(int dividend, int divisor) {
        if (divisor == -1 && dividend == -2147483648){
            return Integer.MAX_VALUE;
        }
        return dividend/divisor;
    }
}
